package com.example.flight_ticket_app.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class Task implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String flightId;

    private Integer planeId;

    public Task(){}

    public Task(String flightId, Integer planeId){
        this.flightId = flightId;
        this.planeId = planeId;
    }

}
